package com.lawyer.repository;


import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import com.lawyer.entity.Cities;


@RepositoryRestResource(exported = false)
public interface CitiesRepository extends PagingAndSortingRepository<Cities, Long> , JpaSpecificationExecutor<Cities> {
	
	@Override
	public List<Cities> findAll();
	
	List<Cities> findByProvinceid(String provinceid);
	
	

}
